<template>
<view class="showShareBox">
	<view class="showShareBoxMask"></view>
	<view class="shareBoxCon">
		<view @tap="close" class="close-icon">关闭</view>
		<view class="share-tips">确定要分享吗？</view>
		<view class="button-bottom">
			<view class="btn-cancel" @tap="close">取消</view>
			<button open-type="share" class=" btn-blue">确定</button>
		</view>
	</view>
</view>
</template>

<script>
export default {
	data() {
		return {
			
		};
	},
	methods:{
		close(){
			this.$emit('closeShare')
		}
	}
}
</script>

<style>
.showShareBox{
	width:100vw;
	height:100vh;
	position: fixed;
	top:0;
	left:0;
}
.showShareBoxMask{
	width:100vw;
	height:100vh;
	position: fixed;
	top:0;
	left:0;
	background: rgba(0,0,0,0.5);
	z-index:99;
}
.shareBoxCon{
	width:80%;
	height:300upx;
	margin:0 auto;
	position:absolute;
	background: #fff;
	left:0;
	right:0;
	z-index:101;
	margin-top:45%;
	border-radius:10upx;
	overflow:hidden;
}
.button-bottom{
	position:absolute;
	width:100%;
	height:88upx;
	line-height:88upx;
	bottom:0;
	left:0;
}
.button-bottom .btn-cancel{
	width:50%;
	display: inline-block;
	vertical-align: top;
	text-align: center;
	font-size:28upx;
	background: #B2B2B2;
}
.button-bottom .btn-blue{
	width:50%;
	display: inline-block;
	font-size:28upx;
	background: #179AFF;
	height: 88upx;
	line-height: 88upx;
	border-radius:0;
	border:none;
	color:#fff;
}
.share-tips{
	text-align: center;
	font-size:30upx;
	margin-top:90upx;
}
.shareBoxCon .close-icon{
	position:absolute;
	top:20upx;
	right:20upx;
	width:80upx;
	height:40upx;
	font-size:32upx;
	line-height: 40upx;
}
</style>
